Skip to content

chore: implement phase 9 - #2787

Draft
Tofel wants to merge 2 commits into
dx-5122-alerts-assertion-p8from
dx-5122-alerts-assertion-p9
Draft

chore: implement phase 9#2787
Tofel wants to merge 2 commits into
dx-5122-alerts-assertion-p8from
dx-5122-alerts-assertion-p9

Conversation

@Tofel

@Tofel Tofel commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Implements Check(), the I/O shell around pure decide() (invariants H5/H7). Single-step mode synthesizes the header and its own sentinel, so no mode flag reaches the pure layer; log mode stops the recorder before the one full read. The header (not a re-resolved definition) decides skipped, the drain set, and transitionGrace; the flock (not the pidfile) is the authority for whether a writer still exists.

Review focus: check.go mode handling, and the header-vs-flock authority decisions.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-testing-framework/grafana-alertcheck

View full report

@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p9 branch 2 times, most recently from 99e5355 to 95381e3 Compare September 1, 2026 14:18
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p9 branch from 95381e3 to 04ba08e Compare September 1, 2026 14:46
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p9 branch 2 times, most recently from 267665d to 7d9cc1e Compare September 2, 2026 09:45
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p9 branch from 7d9cc1e to effe464 Compare September 2, 2026 09:57
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p9 branch from effe464 to ce02d17 Compare September 2, 2026 11:05
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p9 branch from c91c98f to 1377467 Compare September 4, 2026 15:03
Invariant defended: H5/H7. The one question: can check report a pass
over a window it did not prove?

Check() is the I/O shell around the pure decide(). Single-step
synthesizes the header and its own sentinel, so no mode flag reaches
the pure layer. Log mode stops the recorder before the one full read.

The header, not a definition re-resolved after the window closed, is
the authority for what was paused when the window opened — it decides
`skipped`, the drain set, and the transitionGrace max. The flock, not
the pidfile, is the authority for whether a writer still exists.
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p9 branch from 1377467 to f659144 Compare September 4, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant